using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Configuration;

namespace Beetle;

public class PoolSection : ConfigurationSection
{
	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	internal const string a = "poolSection";

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	internal const string b = "xmlns";

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	internal const string c = "servers";

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	public static PoolSection Instance => (PoolSection)ConfigurationManager.GetSection("poolSection");

	[ConfigurationProperty("xmlns", IsRequired = false, IsKey = false, IsDefaultCollection = false)]
	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	public string Xmlns => (string)base["xmlns"];

	[ConfigurationProperty("servers", IsRequired = true, IsKey = false, IsDefaultCollection = false)]
	[Description("The Servers.")]
	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	public virtual Nodes Servers
	{
		get
		{
			return (Nodes)base["servers"];
		}
		set
		{
			base["servers"] = value;
		}
	}

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	public override bool IsReadOnly()
	{
		return false;
	}
}
